import React from 'react'
import './style.less'

class CustomIcon extends React.Component {



    render() {
      const {type,size,color,className} = this.props;
      return (
        <i className={"icon-" + type + " iconfont " + className} style={{fontSize: size + 'px', color: color}} />
      )
    }
}
export default CustomIcon